<template>
	<view class="speed-box">
		<view class="line">
			<view class="top-line" :style="index === 0 ? 'opacity:0' : '' " ></view>
			<view class="block"></view>
			<view class="bottom-line" :style="index === ( Arrlength - 1 ) ? 'opacity:0' : '' "></view>
		</view>
		<view class="details">
			<view class="back-result">
				<view class="time-box">
					<view></view>
					<view>{{msg.dlrReviewDate}}</view>
				</view>
				<view class="result">{{msg.dlrReviewRemark}}</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			index:{type:Number/null,default:null},
			Arrlength:{type:Number/null,default:null},
			msg:{type:Object,default:()=>{}}
		},
		data(){
			return {
				
			}
		}
	}
</script>

<style lang="scss" scoped>
	.speed-box{
		width: 100%;
		height: 180upx;
		background-color: #fff;
		display: flex;
		flex-direction: row;
		.line{
			width: 32upx;
			height: 180upx;
			background-color: #fff;
			display: flex;
			flex-direction: column;
			// justify-content: center;
			align-items: center;
			.top-line{
				width: 1upx;
				height: 50upx;
				background-color: #d3d3d3;
				transform: translatex(-1upx);
			}
			.block{
				width: 5px;
				min-height: 5px;
				// border-radius: 50%;
				background-color: $bg-color;				
				transform:rotate(45deg);
				margin-top: 10upx;				
				
			}
			.bottom-line{
				width: 1upx;
				height: 120upx;
				background-color: #d3d3d3;
				transform: translatex(-1upx);
				margin-top: 10upx;
			}
		}
		.details{
			width: 100%;
			height: 100%;
			background-color: #FFFFFF;
			padding: 12upx 12upx 12upx 12upx ;
			.back-result{
				width: 100%;
				height: 150upx;
				background-color: #FAFAFA;
				padding-top: 30upx;
				.time-box{
					display: flex;
					flex-direction: row;
					align-items: center;
					:first-child{
						width: 6upx;
						height: 32upx;
						background-color: $bg-color;
					}
					:nth-child(2){
						color: #959595;
						margin-left: 24upx;
					}
				}
				.result{
					font-size: 28upx;
					color: #333333;
					margin-top: 12upx;
					margin-left: 30upx;
				}
			}
		}
	}
</style>
